package com.lanou.dllo.shise.com.lanou.dllo.entity;

import java.util.List;

/**
 * Created by dllo on 15/10/29.
 */
public class ChooseBean {


    /**
     * status : 1
     * info : success
     * took : 0.017
     * result : {"count":"2815","list":[{"id":"163401","title":"糖醋排骨","image":"http://u1.wecook.cn/images/20150224/54ec2beddef41.jpg-r30","view":"21789","cooking":"104","favourite":"829","is_favourite":0},{"id":"163514","title":"烤鱼","image":"http://u1.wecook.cn/images/20150312/55006b9b48162.jpg-r30","view":"9034","cooking":"6","favourite":"112","is_favourite":0},{"id":"164365","title":"虾仁苦瓜","image":"http://u1.wecook.cn/images/20150620/55856c7bc81c5.jpg-r30","view":"3276","cooking":"2","favourite":"68","is_favourite":0},{"id":"159893","title":"皮蛋拌豆腐","image":"http://u1.wecook.cn/images/20140726/140632833284.jpg-r30","view":"48681","cooking":"3","favourite":"1634","is_favourite":0},{"id":"3738","title":"荷兰豆炒牛柳","image":"http://u1.wecook.cn/images/20140805/53e058b7e30e5.jpg-r30","view":"16571","cooking":"1","favourite":"994","is_favourite":0},{"id":"5993","title":"芹菜炒牛肉","image":"http://u1.wecook.cn/images/20140204/52f0a79cc27e8.jpg-r30","view":"84721","cooking":"6","favourite":"2306","is_favourite":0},{"id":"149628","title":"尖椒小炒肉","image":"http://u1.wecook.cn/images/20140726/140630654794.jpg-r30","view":"60721","cooking":"1","favourite":"2720","is_favourite":0},{"id":"158465","title":"青椒炒腊肠","image":"http://u1.wecook.cn/images/20140726/140632538992.jpg-r30","view":"73118","cooking":"2","favourite":"896","is_favourite":0},{"id":"159052","title":"响油娃娃菜","image":"http://u1.wecook.cn/images/20140814/53ec2b6103f12.jpg-r30","view":"151412","cooking":"6","favourite":"2623","is_favourite":0},{"id":"159761","title":"凉拌火腿黄瓜","image":"http://u1.wecook.cn/images/20140726/140632822394.jpg-r30","view":"30518","cooking":"9","favourite":"1706","is_favourite":0},{"id":"163767","title":"西红柿土豆疙瘩汤","image":"http://u1.wecook.cn/images/20150321/550cfabd4045b.jpg-r30","view":"3181","cooking":"1","favourite":"145","is_favourite":0},{"id":"163779","title":"疙瘩汤","image":"http://u1.wecook.cn/images/20150323/550ff6da66335.jpg-r30","view":"4459","cooking":"3","favourite":"195","is_favourite":0},{"id":"164373","title":"咖喱鸡腿饭","image":"http://u1.wecook.cn/images/20150623/558902b480757.jpg-r30","view":"6424","cooking":"2","favourite":"217","is_favourite":0},{"id":"164253","title":"拔丝山药","image":"http://u1.wecook.cn/images/20150516/555618e31c809.jpg-r30","view":"3864","cooking":"3","favourite":"275","is_favourite":0},{"id":"164304","title":"甜美虾粥","image":"http://u1.wecook.cn/images/20150530/5569877b6b4af.jpg-r30","view":"1801","cooking":"0","favourite":"93","is_favourite":0},{"id":"164450","title":"醋溜土豆丝","image":"http://u1.wecook.cn/images/20150725/55b340f9dbc1b.jpg-r30","view":"1952","cooking":"25","favourite":"111","is_favourite":0},{"id":"164498","title":"火龙果果酱","image":"http://u1.wecook.cn/images/20150815/55ceb4911f833.jpg-r30","view":"3309","cooking":"0","favourite":"21","is_favourite":0},{"id":"164501","title":"桂花苹果糖浆","image":"http://u1.wecook.cn/images/20150816/55cfe5349e93a.jpg-r30","view":"668","cooking":"0","favourite":"30","is_favourite":0},{"id":"164169","title":"方便面也可以这样吃","image":"http://u1.wecook.cn/images/20150426/553c64b29d31a.jpg-r30","view":"9097","cooking":"2","favourite":"230","is_favourite":0},{"id":"164246","title":"归杞枣核汤","image":"http://u1.wecook.cn/images/20150513/5552d54525418.jpg-r30","view":"9429","cooking":"1","favourite":"270","is_favourite":0}]}
     */

    private int status;
    private String info;
    private double took;
    /**
     * count : 2815
     * list : [{"id":"163401","title":"糖醋排骨","image":"http://u1.wecook.cn/images/20150224/54ec2beddef41.jpg-r30","view":"21789","cooking":"104","favourite":"829","is_favourite":0},{"id":"163514","title":"烤鱼","image":"http://u1.wecook.cn/images/20150312/55006b9b48162.jpg-r30","view":"9034","cooking":"6","favourite":"112","is_favourite":0},{"id":"164365","title":"虾仁苦瓜","image":"http://u1.wecook.cn/images/20150620/55856c7bc81c5.jpg-r30","view":"3276","cooking":"2","favourite":"68","is_favourite":0},{"id":"159893","title":"皮蛋拌豆腐","image":"http://u1.wecook.cn/images/20140726/140632833284.jpg-r30","view":"48681","cooking":"3","favourite":"1634","is_favourite":0},{"id":"3738","title":"荷兰豆炒牛柳","image":"http://u1.wecook.cn/images/20140805/53e058b7e30e5.jpg-r30","view":"16571","cooking":"1","favourite":"994","is_favourite":0},{"id":"5993","title":"芹菜炒牛肉","image":"http://u1.wecook.cn/images/20140204/52f0a79cc27e8.jpg-r30","view":"84721","cooking":"6","favourite":"2306","is_favourite":0},{"id":"149628","title":"尖椒小炒肉","image":"http://u1.wecook.cn/images/20140726/140630654794.jpg-r30","view":"60721","cooking":"1","favourite":"2720","is_favourite":0},{"id":"158465","title":"青椒炒腊肠","image":"http://u1.wecook.cn/images/20140726/140632538992.jpg-r30","view":"73118","cooking":"2","favourite":"896","is_favourite":0},{"id":"159052","title":"响油娃娃菜","image":"http://u1.wecook.cn/images/20140814/53ec2b6103f12.jpg-r30","view":"151412","cooking":"6","favourite":"2623","is_favourite":0},{"id":"159761","title":"凉拌火腿黄瓜","image":"http://u1.wecook.cn/images/20140726/140632822394.jpg-r30","view":"30518","cooking":"9","favourite":"1706","is_favourite":0},{"id":"163767","title":"西红柿土豆疙瘩汤","image":"http://u1.wecook.cn/images/20150321/550cfabd4045b.jpg-r30","view":"3181","cooking":"1","favourite":"145","is_favourite":0},{"id":"163779","title":"疙瘩汤","image":"http://u1.wecook.cn/images/20150323/550ff6da66335.jpg-r30","view":"4459","cooking":"3","favourite":"195","is_favourite":0},{"id":"164373","title":"咖喱鸡腿饭","image":"http://u1.wecook.cn/images/20150623/558902b480757.jpg-r30","view":"6424","cooking":"2","favourite":"217","is_favourite":0},{"id":"164253","title":"拔丝山药","image":"http://u1.wecook.cn/images/20150516/555618e31c809.jpg-r30","view":"3864","cooking":"3","favourite":"275","is_favourite":0},{"id":"164304","title":"甜美虾粥","image":"http://u1.wecook.cn/images/20150530/5569877b6b4af.jpg-r30","view":"1801","cooking":"0","favourite":"93","is_favourite":0},{"id":"164450","title":"醋溜土豆丝","image":"http://u1.wecook.cn/images/20150725/55b340f9dbc1b.jpg-r30","view":"1952","cooking":"25","favourite":"111","is_favourite":0},{"id":"164498","title":"火龙果果酱","image":"http://u1.wecook.cn/images/20150815/55ceb4911f833.jpg-r30","view":"3309","cooking":"0","favourite":"21","is_favourite":0},{"id":"164501","title":"桂花苹果糖浆","image":"http://u1.wecook.cn/images/20150816/55cfe5349e93a.jpg-r30","view":"668","cooking":"0","favourite":"30","is_favourite":0},{"id":"164169","title":"方便面也可以这样吃","image":"http://u1.wecook.cn/images/20150426/553c64b29d31a.jpg-r30","view":"9097","cooking":"2","favourite":"230","is_favourite":0},{"id":"164246","title":"归杞枣核汤","image":"http://u1.wecook.cn/images/20150513/5552d54525418.jpg-r30","view":"9429","cooking":"1","favourite":"270","is_favourite":0}]
     */

    private ResultEntity result;

    public void setStatus(int status) {
        this.status = status;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public void setTook(double took) {
        this.took = took;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getStatus() {
        return status;
    }

    public String getInfo() {
        return info;
    }

    public double getTook() {
        return took;
    }

    public ResultEntity getResult() {
        return result;
    }

    public static class ResultEntity {
        private String count;
        /**
         * id : 163401
         * title : 糖醋排骨
         * image : http://u1.wecook.cn/images/20150224/54ec2beddef41.jpg-r30
         * view : 21789
         * cooking : 104
         * favourite : 829
         * is_favourite : 0
         */

        private List<ListEntity> list;

        public void setCount(String count) {
            this.count = count;
        }

        public void setList(List<ListEntity> list) {
            this.list = list;
        }

        public String getCount() {
            return count;
        }

        public List<ListEntity> getList() {
            return list;
        }

        public static class ListEntity {
            private String id;
            private String title;
            private String image;
            private String view;
            private String cooking;
            private String favourite;
            private int is_favourite;

            public void setId(String id) {
                this.id = id;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public void setView(String view) {
                this.view = view;
            }

            public void setCooking(String cooking) {
                this.cooking = cooking;
            }

            public void setFavourite(String favourite) {
                this.favourite = favourite;
            }

            public void setIs_favourite(int is_favourite) {
                this.is_favourite = is_favourite;
            }

            public String getId() {
                return id;
            }

            public String getTitle() {
                return title;
            }

            public String getImage() {
                return image;
            }

            public String getView() {
                return view;
            }

            public String getCooking() {
                return cooking;
            }

            public String getFavourite() {
                return favourite;
            }

            public int getIs_favourite() {
                return is_favourite;
            }
        }
    }
}